package com.dz.lm.dao.compproduct.read;

import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.comp.CompExample;
import com.dz.lm.domain.compaccount.CompAccount;
import com.dz.lm.domain.compaccount.CompAccountExample;
import com.dz.lm.domain.compproduct.CompProduct;
import com.dz.lm.domain.compproduct.CompProductExample;

import java.util.List;
import java.util.Map;

@ReaderRepository("readCompProductDao")
public interface CompProductDao {
    List<CompProduct> selectByExample(CompProductExample example);

    CompProduct selectByPrimaryKey(Integer productId);

    List<Map> query(Integer compId);
}
